package org.example.ymcc.service;

import com.alibaba.fastjson.JSONObject;
import org.example.ymcc.domain.CourseOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.ymcc.result.JsonResult;
import org.example.ymcc.ro.KillOrderRo;
import org.example.ymcc.ro.OrderRo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zcj
 * @since 2024-06-20
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    JsonResult placeOrder(OrderRo orderRo, JSONObject login);

    JsonResult killPlaceOrder(KillOrderRo orderRo, JSONObject login);
}
